package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 圈子点赞收藏
 *
 * @author 刘聪
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName( "tz_article_like")
@Schema(description = "圈子点赞收藏")
public class ArticleLike implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业务id
     */
    @Schema(description = "业务id")
    @TableField(value = "biz_id")
    private Long articleId;

    /**
     * 文章收藏量
     */
    @Schema(description = "文章收藏量")
    @TableField(value = "collection_quantity")
    private Integer collectionQuantity;


    /**
     * 点赞量
     */
    @Schema(description = "点赞量")
    @TableField(value = "number_of_likes")
    private Integer numberOfLikes;


}
